#include "LoginView.h"


LoginView::LoginView(void)
{
}


LoginView::~LoginView(void)
{
}

bool LoginView::init()
{
	if ( !Layer::init() ){ return false; }

	Size size = FrameMgr::inst()->getGameViewSize();
	string str ;
	GameConfigData::inst()->getData( "kaishiyouxi", str );
	_playGame = MenuItemFont::create( str );
	 auto stringMenu = Menu::create(_playGame, NULL);
	 stringMenu->setPosition( size.width/2, size.height/2 );
	 addChild(stringMenu);

	return true;
}
